<?php
  return array(
  		'request'=>array(
  				'enableCsrfValidation'=>false,
  				'enableCookieValidation'=>false,
  				'csrfTokenName'=>'token'
  		),
  		//后台用户
  		'admin'=>array(
  				'class'=>'WebUserD',
  				'allowAutoLogin'=>true,
  				'stateKeyPrefix'=>'backuser',
  				'usertype'=>'admin'
  		),
  		'frontuser'=>array(
  				'class'=>'WebUserD',
  				'allowAutoLogin'=>true,
  				'stateKeyPrefix'=>'frontuser',
  				'usertype'=>'front',
  		),
  		/*'session' => array(
  				'class' => 'CCacheHttpSession',
  				'frontCacheID'=>'cacheApc',
  				'backCacheID'=>'cacheMem002',
  				'timeout'=>3600,
  				'cookieParams'=>array('domain'=>'.codeinn.net'),
  		),*/
  		//apc缓存
  		'cacheApc'=>array(
  				'keyPrefix'=>'34b80282',
  				'class'=>'CApcCache',
  				'keyPrefix'=>'34b80282'
  		),
  		//session专用memcached服务器 
  		'cacheMem001' => array(
  				'class' => 'CMemCache',
  				'keyPrefix' => '34c80282',
  				'servers' => array(
  						array(
  								'host' => '192.168.1.167',
  								'port' => 11211
  						)
  				)
  		),
  		
  		//全局配置缓存专用memcached服务器
  		'cacheMem002' => array(
  				'class' => 'CMemCache',
  				'keyPrefix' => '34c80282',
  				'servers' => array(
  						array(
  								'host' => '192.168.1.167',
  								'port' => 11211
  						)
  				)
  		),
  		//一般数据查询缓存专用memcached服务器
  		'cacheMem003' => array(
  				'class' => 'CMemCache',
  				'keyPrefix' => '34c80282',
  				'servers' => array(
  						array(
  								'host' => '192.168.1.167',
  								'port' => 11211
  						),
  				)
  		),
  		
  		//一般数据查询缓存专用memcached服务器
  		'cacheMem004' => array(
  				'class' => 'CMemCache',
  				'keyPrefix' => '34c80282',
  				'servers' => array(
  						array(
  								'host' => '192.168.1.167',
  								'port' => 11211
  						),
  				)
  		),
  		'db'=>array(
  				'connectionString' => 'mysql:host=localhost;dbname=coodinn',
  				'emulatePrepare' => true,
  				'username' => 'root',
  				'password' => '123456',
  				'charset' => 'utf8',
  				'schemaCacheID'=>'cacheApc',
  				'schemaCachingDuration'=>0,
  				'queryCachingDuration'=>0,
  				'queryCachingCount'=>0,
  				'tablePrefix' => 'tbl_',
  		),
  		'themeManager'=>array(
  				'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'themes',
  		),
  		
  );